<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>毛遂网——测试</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="myContent">
	<h1>Alternative content</h1>
	<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<script language='javascript'>
	var g_Player = null;
	var params = {BGColor:"#dfe3e6"} ;
	swfobject.embedSWF("maoSui.swf", "myContent", "480", "410", "11","expressInstall.swf",null,params,null);

	function swfLoadComplete()
	{
		g_Player = myContent; 
		g_Player.publishVideo("rtmp://58.215.140.201:1967/show/","maosuiinterview_1234567");
		g_Player.receiveVideo("rtmp://58.215.140.201:1967/show/","maosuiinterview_1234568");
	}
	/*
	//发布状态事件
	function activeOff()
	{
		//alert("视频被停止！");
	}
	function publishing()
	{
		//alert("视频正在发布！");
	}
	function publishSuccess()
	{
		//alert("视频发布成功！");
	}
	function publishFailed()
	{
		//alert("视频发布失败！");
	}


	//接收状态事件
	function receiveing()
	{
		//alert("视频正在接收中！");
	}
	function receiveSuccess()
	{
		//alert("视频接收成功！");
	}
	function receiveFailed()
	{
		//alert("视频接收失败！");
	}*/
	
</script>

</body>
</html>
